package com.greenold.service.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.greenold.common.annotation.Excel;
import com.greenold.common.core.domain.BaseEntity;

/**
 * 护理等级对象 care_level
 *
 * @author YueYang
 * @date 2025-10-13
 */
public class CareLevel extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private String id;

    /**
     * 护理等级名称
     */
    @Excel(name = "护理等级名称")
    private String levelName;

    /**
     * 执行护理计划
     */
    @Excel(name = "执行护理计划")
    private String carePlanId;

    /**
     * 护理计划名称
     */
    @Excel(name = "护理计划名称")
    private String planName;

    /**
     * 护理费用(元/月)
     */
    @Excel(name = "护理费用(元/月)")
    private BigDecimal careFee;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private String status;

    /**
     * 等级说明
     */
    @Excel(name = "等级说明")
    private String description;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createdAt;

    /**
     * 创建人
     */
    @Excel(name = "创建人")
    private String createdBy;

    /**
     * 创建人名称
     */
    @Excel(name = "创建人名称")
    private String creator;

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    /**
     * $column.columnComment
     */
    private Date updatedAt;

    /**
     * $column.columnComment
     */
    private String updatedBy;

    /**
     * 扩展字段1
     */
    private String extend1;

    public String getPlanName() {
        return planName;
    }

    public void setPlanName(String planName) {
        this.planName = planName;
    }

    /**
     * 扩展字段2
     */
    private String extend2;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setLevelName(String levelName) {
        this.levelName = levelName;
    }

    public String getLevelName() {
        return levelName;
    }

    public void setCarePlanId(String carePlanId) {
        this.carePlanId = carePlanId;
    }

    public String getCarePlanId() {
        return carePlanId;
    }

    public void setCareFee(BigDecimal careFee) {
        this.careFee = careFee;
    }

    public BigDecimal getCareFee() {
        return careFee;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public void setExtend1(String extend1) {
        this.extend1 = extend1;
    }

    public String getExtend1() {
        return extend1;
    }

    public void setExtend2(String extend2) {
        this.extend2 = extend2;
    }

    public String getExtend2() {
        return extend2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("levelName", getLevelName())
                .append("carePlanId", getCarePlanId())
                .append("careFee", getCareFee())
                .append("status", getStatus())
                .append("description", getDescription())
                .append("createdAt", getCreatedAt())
                .append("createdBy", getCreatedBy())
                .append("updatedAt", getUpdatedAt())
                .append("updatedBy", getUpdatedBy())
                .append("remark", getRemark())
                .append("extend1", getExtend1())
                .append("extend2", getExtend2())
                .toString();
    }
}
